This document provides a comprehensive reference for all supported HealthCategoryValue
enums used with HealthCategorySample.create()
and related APIs. Each enum represents a specific categorical value associated with a HealthCategoryType
.
HealthCategoryValuePresence
Applicable Types:
mindfulSession
intermenstrualBleeding
sexualActivity
pregnancy
lactation
Description: Indicates the presence or absence of an event.
Value | Meaning |
---|---|
present |
The event occurred |
notPresent |
The event did not occur |
HealthCategoryValueSeverity
Applicable Types:
menstrualFlow
acneSeverity
hairLossSeverity
abdominalCramps
headache
nausea
Description: Represents the severity level of a symptom.
Value | Meaning |
---|---|
unspecified |
Not specified |
notPresent |
Not present |
mild |
Mild severity |
moderate |
Moderate severity |
severe |
Severe |
HealthCategoryValueSleepAnalysis
Applicable Types:
sleepAnalysis
Description: Categorizes sleep states during a given time range.
Value | Meaning |
---|---|
inBed |
In bed (not necessarily asleep) |
asleepUnspecified |
Asleep (unspecified phase) |
awake |
Awake |
asleepCore |
Core sleep |
asleepDeep |
Deep sleep |
asleepREM |
REM sleep |
HealthCategoryValueOvulationTestResult
Applicable Types:
ovulationTestResult
Value | Meaning |
---|---|
negative |
No LH surge detected |
luteinizingHormoneSurge |
LH surge detected (ovulation likely) |
indeterminate |
Result unclear |
estrogenSurge |
Estrogen surge detected |
HealthCategoryValuePregnancyTestResult
Applicable Types:
pregnancyTestResult
Value | Meaning |
---|---|
negative |
Test was negative |
positive |
Test was positive |
indeterminate |
Result unclear |
HealthCategoryValueProgesteroneTestResult
Applicable Types:
progesteroneTestResult
Value | Meaning |
---|---|
negative |
Test was negative |
positive |
Test was positive |
indeterminate |
Result unclear |
HealthCategoryValueCervicalMucusQuality
Applicable Types:
cervicalMucusQuality
Value | Meaning |
---|---|
dry |
Dry |
sticky |
Sticky |
creamy |
Creamy |
watery |
Watery |
eggWhite |
Egg-white texture |
HealthCategoryValueContraceptive
Applicable Types:
contraceptive
Value | Meaning |
---|---|
unspecified |
Not specified |
implant |
Contraceptive implant |
injection |
Hormonal injection |
intrauterineDevice |
Intrauterine device (IUD) |
intravaginalRing |
Vaginal ring |
oral |
Oral contraceptive |
patch |
Transdermal patch |
HealthCategoryValueVaginalBleeding
(iOS 18+)Applicable Types:
vaginalBleeding
Value | Meaning |
---|---|
unspecified |
Not specified |
light |
Light bleeding |
medium |
Medium bleeding |
heavy |
Heavy bleeding |
none |
No bleeding |
HealthCategoryValueAppetiteChanges
Applicable Types:
appetiteChanges
Value | Meaning |
---|---|
unspecified |
Not specified |
noChange |
No change in appetite |
decreased |
Appetite decreased |
increased |
Appetite increased |
HealthCategoryValueAppleStandHour
Applicable Types:
appleStandHour
Value | Meaning |
---|---|
stood |
User stood up |
idle |
User remained idle |
HealthCategoryValueAppleWalkingSteadinessEvent
Applicable Types:
appleWalkingSteadinessEvent
Value | Meaning |
---|---|
initialLow |
Initial low stability |
initialVeryLow |
Initial very low stability |
repeatLow |
Repeated low stability |
repeatVeryLow |
Repeated very low stability |
HealthCategoryValueEnvironmentalAudioExposureEvent
Applicable Types:
environmentalAudioExposureEvent
Value | Meaning |
---|---|
momentaryLimit |
Momentary noise exposure limit exceeded |
HealthCategoryValueHeadphoneAudioExposureEvent
Applicable Types:
headphoneAudioExposureEvent
Value | Meaning |
---|---|
sevenDayLimit |
Exceeded recommended 7-day audio limit |
HealthCategoryValueLowCardioFitnessEvent
Applicable Types:
lowCardioFitnessEvent
Value | Meaning |
---|---|
lowFitness |
Low cardio fitness level detected |
type
specified in the sample; using an incorrect enum will result in an error.HealthCategorySample
values are stored using Apple's HKCategoryTypeIdentifier
mapping under the hood.